package com.caocao.domain;

/**
 * 描述:前台界面返回数据对象
 *
 * @Author:操文健
 * @Create Time:2017-09-10 5:34
 */
public class RequestResult<T> {

    /**  错误码 */
    private Integer code;
    /** 返回的message信息 */
    private String msg;
    /** 返回的用户Id信息 */
    private String userName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    /** 返回的数据 */
    private T data;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
